package com.example.okhttp.net

import com.example.okhttp.data.EncryptedRequest
import com.example.okhttp.data.EncryptedResponse
import com.example.okhttp.test.TEST_RN_POST_AUTH
import retrofit2.http.Body
import retrofit2.http.Headers
import retrofit2.http.POST

interface ApiService {
    @Headers("Content-Type: application/json")
    @POST(TEST_RN_POST_AUTH)
    suspend fun postEncryptedData(@Body request: EncryptedRequest): EncryptedResponse
}